package com.bwf.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/6/9 9:43
 * @Copyright 博为峰
 */
public class BankServlet extends BaseServlet {

    public String save(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("abc");
        return "forward:/stu?method=query&name=zhangsan";
    }

    public String String(HttpServletRequest req, HttpServletResponse resp) {
        return "redirect:/s02";
    }
}
